﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using NamingOnLesson.Extension;
using NamingOnLessonRepositry;

namespace NamingOnLesson.Student
{
    public partial class DataList : Form
    {
        RepositoryFactory<NamingOnLessonEntity.Student> repositryfactory = new RepositoryFactory<NamingOnLessonEntity.Student>();
        public DataList()
        {
            InitializeComponent();

        }
        public DataTable GetStudentList(string keyword)
        {
            return repositryfactory.Repository().GetEntityTable(keyword);
        }
    }
}
